package com.wbihua.common.metrics.metric;

import com.wbihua.common.metrics.type.EventPrometheusHistogramType;

import java.util.function.Consumer;
import java.util.function.Supplier;

public interface EventMeterPrometheusHistogram extends EventMeter{
    EventPrometheusHistogramType getCounterType();

    void startTimer(Consumer<Object> saveTimer, String... labelValues);

    void observeDuration(Supplier<Object> timerSupplier);
}
